UploadPartCopy
Description
UploadPartCopy interface uploads a Part by copying data from an existing Object.
Request Method
POST
Request Path
/apsara/route/OneRouter/UploadPartCopy
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
x-oss-copy-source-range | BODY | integer | No | bytes=100-6291756 | the copy range of the source object. For example, if bytes = 0 to 9 is set to copy the 10 characters from 0 to 9. Default value: None When the request header is not specified, the entire source object is copied. when the request header is specified, the returned message will contain the length of the entire file and the range of the copy. for example, the Content-Range: bytes 0~9/44 indicates that the length of the entire file is 44, and the range of the copy is 0~9. when the specified range does not conform to the specification, the entire source object is copied and the Content-Range is not mentioned in the result. |
version | BODY | string | No | 2016-01-01 | version of api |
x-oss-copy-source | BODY | string | Yes | oss-example/src-object | copy source address (must have readable permission). Default value: None |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}